package com.ihr360.payroll.model.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author richey
 */
public class SalaryTaxVO implements Serializable {

    private static final long serialVersionUID = 2369327741793994662L;

    private Long id;

    /** 生效日期 */
    private Date effectiveAt;

    /** 失效日期 */
    private Date invalidAt;


    /** 固定税率/超额累进 */
    private boolean fixed = false;

    List<SalaryTaxRuleVO> rules;


    public SalaryTaxVO(Long id,Date effectiveAt, Date invalidAt,boolean fixed ,List<SalaryTaxRuleVO> rules) {
        this.id = id;
        this.effectiveAt = effectiveAt;
        this.invalidAt = invalidAt;
        this.fixed = fixed;
        this.rules = rules;
    }

    public Date getEffectiveAt() {
        return effectiveAt;
    }

    public void setEffectiveAt(Date effectiveAt) {
        this.effectiveAt = effectiveAt;
    }

    public Date getInvalidAt() {
        return invalidAt;
    }

    public void setInvalidAt(Date invalidAt) {
        this.invalidAt = invalidAt;
    }

    public boolean isFixed() {
        return fixed;
    }

    public void setFixed(boolean fixed) {
        this.fixed = fixed;
    }

    public List<SalaryTaxRuleVO> getRules() {
        return rules;
    }

    public void setRules(List<SalaryTaxRuleVO> rules) {
        this.rules = rules;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
